package com.crm.model.entity.cluePoolManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ClueVisitRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClueVisitRecordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andClueVisitRecordIdIsNull() {
            addCriterion("clue_visit_record_id is null");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdIsNotNull() {
            addCriterion("clue_visit_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdEqualTo(String value) {
            addCriterion("clue_visit_record_id =", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdNotEqualTo(String value) {
            addCriterion("clue_visit_record_id <>", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdGreaterThan(String value) {
            addCriterion("clue_visit_record_id >", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdGreaterThanOrEqualTo(String value) {
            addCriterion("clue_visit_record_id >=", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdLessThan(String value) {
            addCriterion("clue_visit_record_id <", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdLessThanOrEqualTo(String value) {
            addCriterion("clue_visit_record_id <=", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdLike(String value) {
            addCriterion("clue_visit_record_id like", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdNotLike(String value) {
            addCriterion("clue_visit_record_id not like", value, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdIn(List<String> values) {
            addCriterion("clue_visit_record_id in", values, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdNotIn(List<String> values) {
            addCriterion("clue_visit_record_id not in", values, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdBetween(String value1, String value2) {
            addCriterion("clue_visit_record_id between", value1, value2, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andClueVisitRecordIdNotBetween(String value1, String value2) {
            addCriterion("clue_visit_record_id not between", value1, value2, "clueVisitRecordId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeIsNull() {
            addCriterion("visit_purpose is null");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeIsNotNull() {
            addCriterion("visit_purpose is not null");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeEqualTo(String value) {
            addCriterion("visit_purpose =", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeNotEqualTo(String value) {
            addCriterion("visit_purpose <>", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeGreaterThan(String value) {
            addCriterion("visit_purpose >", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeGreaterThanOrEqualTo(String value) {
            addCriterion("visit_purpose >=", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeLessThan(String value) {
            addCriterion("visit_purpose <", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeLessThanOrEqualTo(String value) {
            addCriterion("visit_purpose <=", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeLike(String value) {
            addCriterion("visit_purpose like", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeNotLike(String value) {
            addCriterion("visit_purpose not like", value, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeIn(List<String> values) {
            addCriterion("visit_purpose in", values, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeNotIn(List<String> values) {
            addCriterion("visit_purpose not in", values, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeBetween(String value1, String value2) {
            addCriterion("visit_purpose between", value1, value2, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andVisitPurposeNotBetween(String value1, String value2) {
            addCriterion("visit_purpose not between", value1, value2, "visitPurpose");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleIsNull() {
            addCriterion("accompany_visit_people is null");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleIsNotNull() {
            addCriterion("accompany_visit_people is not null");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleEqualTo(String value) {
            addCriterion("accompany_visit_people =", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleNotEqualTo(String value) {
            addCriterion("accompany_visit_people <>", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleGreaterThan(String value) {
            addCriterion("accompany_visit_people >", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleGreaterThanOrEqualTo(String value) {
            addCriterion("accompany_visit_people >=", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleLessThan(String value) {
            addCriterion("accompany_visit_people <", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleLessThanOrEqualTo(String value) {
            addCriterion("accompany_visit_people <=", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleLike(String value) {
            addCriterion("accompany_visit_people like", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleNotLike(String value) {
            addCriterion("accompany_visit_people not like", value, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleIn(List<String> values) {
            addCriterion("accompany_visit_people in", values, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleNotIn(List<String> values) {
            addCriterion("accompany_visit_people not in", values, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleBetween(String value1, String value2) {
            addCriterion("accompany_visit_people between", value1, value2, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andAccompanyVisitPeopleNotBetween(String value1, String value2) {
            addCriterion("accompany_visit_people not between", value1, value2, "accompanyVisitPeople");
            return (Criteria) this;
        }

        public Criteria andVisitAddressIsNull() {
            addCriterion("visit_address is null");
            return (Criteria) this;
        }

        public Criteria andVisitAddressIsNotNull() {
            addCriterion("visit_address is not null");
            return (Criteria) this;
        }

        public Criteria andVisitAddressEqualTo(String value) {
            addCriterion("visit_address =", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressNotEqualTo(String value) {
            addCriterion("visit_address <>", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressGreaterThan(String value) {
            addCriterion("visit_address >", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressGreaterThanOrEqualTo(String value) {
            addCriterion("visit_address >=", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressLessThan(String value) {
            addCriterion("visit_address <", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressLessThanOrEqualTo(String value) {
            addCriterion("visit_address <=", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressLike(String value) {
            addCriterion("visit_address like", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressNotLike(String value) {
            addCriterion("visit_address not like", value, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressIn(List<String> values) {
            addCriterion("visit_address in", values, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressNotIn(List<String> values) {
            addCriterion("visit_address not in", values, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressBetween(String value1, String value2) {
            addCriterion("visit_address between", value1, value2, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andVisitAddressNotBetween(String value1, String value2) {
            addCriterion("visit_address not between", value1, value2, "visitAddress");
            return (Criteria) this;
        }

        public Criteria andContactPersonIsNull() {
            addCriterion("contact_person is null");
            return (Criteria) this;
        }

        public Criteria andContactPersonIsNotNull() {
            addCriterion("contact_person is not null");
            return (Criteria) this;
        }

        public Criteria andContactPersonEqualTo(String value) {
            addCriterion("contact_person =", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotEqualTo(String value) {
            addCriterion("contact_person <>", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonGreaterThan(String value) {
            addCriterion("contact_person >", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonGreaterThanOrEqualTo(String value) {
            addCriterion("contact_person >=", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLessThan(String value) {
            addCriterion("contact_person <", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLessThanOrEqualTo(String value) {
            addCriterion("contact_person <=", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonLike(String value) {
            addCriterion("contact_person like", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotLike(String value) {
            addCriterion("contact_person not like", value, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonIn(List<String> values) {
            addCriterion("contact_person in", values, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotIn(List<String> values) {
            addCriterion("contact_person not in", values, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonBetween(String value1, String value2) {
            addCriterion("contact_person between", value1, value2, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactPersonNotBetween(String value1, String value2) {
            addCriterion("contact_person not between", value1, value2, "contactPerson");
            return (Criteria) this;
        }

        public Criteria andContactInformationIsNull() {
            addCriterion("contact_information is null");
            return (Criteria) this;
        }

        public Criteria andContactInformationIsNotNull() {
            addCriterion("contact_information is not null");
            return (Criteria) this;
        }

        public Criteria andContactInformationEqualTo(String value) {
            addCriterion("contact_information =", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationNotEqualTo(String value) {
            addCriterion("contact_information <>", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationGreaterThan(String value) {
            addCriterion("contact_information >", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationGreaterThanOrEqualTo(String value) {
            addCriterion("contact_information >=", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationLessThan(String value) {
            addCriterion("contact_information <", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationLessThanOrEqualTo(String value) {
            addCriterion("contact_information <=", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationLike(String value) {
            addCriterion("contact_information like", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationNotLike(String value) {
            addCriterion("contact_information not like", value, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationIn(List<String> values) {
            addCriterion("contact_information in", values, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationNotIn(List<String> values) {
            addCriterion("contact_information not in", values, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationBetween(String value1, String value2) {
            addCriterion("contact_information between", value1, value2, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactInformationNotBetween(String value1, String value2) {
            addCriterion("contact_information not between", value1, value2, "contactInformation");
            return (Criteria) this;
        }

        public Criteria andContactJobIsNull() {
            addCriterion("contact_job is null");
            return (Criteria) this;
        }

        public Criteria andContactJobIsNotNull() {
            addCriterion("contact_job is not null");
            return (Criteria) this;
        }

        public Criteria andContactJobEqualTo(String value) {
            addCriterion("contact_job =", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobNotEqualTo(String value) {
            addCriterion("contact_job <>", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobGreaterThan(String value) {
            addCriterion("contact_job >", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobGreaterThanOrEqualTo(String value) {
            addCriterion("contact_job >=", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobLessThan(String value) {
            addCriterion("contact_job <", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobLessThanOrEqualTo(String value) {
            addCriterion("contact_job <=", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobLike(String value) {
            addCriterion("contact_job like", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobNotLike(String value) {
            addCriterion("contact_job not like", value, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobIn(List<String> values) {
            addCriterion("contact_job in", values, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobNotIn(List<String> values) {
            addCriterion("contact_job not in", values, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobBetween(String value1, String value2) {
            addCriterion("contact_job between", value1, value2, "contactJob");
            return (Criteria) this;
        }

        public Criteria andContactJobNotBetween(String value1, String value2) {
            addCriterion("contact_job not between", value1, value2, "contactJob");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeIsNull() {
            addCriterion("communication_time is null");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeIsNotNull() {
            addCriterion("communication_time is not null");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeEqualTo(Integer value) {
            addCriterion("communication_time =", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeNotEqualTo(Integer value) {
            addCriterion("communication_time <>", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeGreaterThan(Integer value) {
            addCriterion("communication_time >", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("communication_time >=", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeLessThan(Integer value) {
            addCriterion("communication_time <", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeLessThanOrEqualTo(Integer value) {
            addCriterion("communication_time <=", value, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeIn(List<Integer> values) {
            addCriterion("communication_time in", values, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeNotIn(List<Integer> values) {
            addCriterion("communication_time not in", values, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeBetween(Integer value1, Integer value2) {
            addCriterion("communication_time between", value1, value2, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andCommunicationTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("communication_time not between", value1, value2, "communicationTime");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonIsNull() {
            addCriterion("accompanying_person is null");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonIsNotNull() {
            addCriterion("accompanying_person is not null");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonEqualTo(String value) {
            addCriterion("accompanying_person =", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonNotEqualTo(String value) {
            addCriterion("accompanying_person <>", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonGreaterThan(String value) {
            addCriterion("accompanying_person >", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonGreaterThanOrEqualTo(String value) {
            addCriterion("accompanying_person >=", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonLessThan(String value) {
            addCriterion("accompanying_person <", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonLessThanOrEqualTo(String value) {
            addCriterion("accompanying_person <=", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonLike(String value) {
            addCriterion("accompanying_person like", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonNotLike(String value) {
            addCriterion("accompanying_person not like", value, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonIn(List<String> values) {
            addCriterion("accompanying_person in", values, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonNotIn(List<String> values) {
            addCriterion("accompanying_person not in", values, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonBetween(String value1, String value2) {
            addCriterion("accompanying_person between", value1, value2, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andAccompanyingPersonNotBetween(String value1, String value2) {
            addCriterion("accompanying_person not between", value1, value2, "accompanyingPerson");
            return (Criteria) this;
        }

        public Criteria andMainVisitorIsNull() {
            addCriterion("main_visitor is null");
            return (Criteria) this;
        }

        public Criteria andMainVisitorIsNotNull() {
            addCriterion("main_visitor is not null");
            return (Criteria) this;
        }

        public Criteria andMainVisitorEqualTo(String value) {
            addCriterion("main_visitor =", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorNotEqualTo(String value) {
            addCriterion("main_visitor <>", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorGreaterThan(String value) {
            addCriterion("main_visitor >", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorGreaterThanOrEqualTo(String value) {
            addCriterion("main_visitor >=", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorLessThan(String value) {
            addCriterion("main_visitor <", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorLessThanOrEqualTo(String value) {
            addCriterion("main_visitor <=", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorLike(String value) {
            addCriterion("main_visitor like", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorNotLike(String value) {
            addCriterion("main_visitor not like", value, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorIn(List<String> values) {
            addCriterion("main_visitor in", values, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorNotIn(List<String> values) {
            addCriterion("main_visitor not in", values, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorBetween(String value1, String value2) {
            addCriterion("main_visitor between", value1, value2, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andMainVisitorNotBetween(String value1, String value2) {
            addCriterion("main_visitor not between", value1, value2, "mainVisitor");
            return (Criteria) this;
        }

        public Criteria andUploadIdIsNull() {
            addCriterion("upload_id is null");
            return (Criteria) this;
        }

        public Criteria andUploadIdIsNotNull() {
            addCriterion("upload_id is not null");
            return (Criteria) this;
        }

        public Criteria andUploadIdEqualTo(String value) {
            addCriterion("upload_id =", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdNotEqualTo(String value) {
            addCriterion("upload_id <>", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdGreaterThan(String value) {
            addCriterion("upload_id >", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdGreaterThanOrEqualTo(String value) {
            addCriterion("upload_id >=", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdLessThan(String value) {
            addCriterion("upload_id <", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdLessThanOrEqualTo(String value) {
            addCriterion("upload_id <=", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdLike(String value) {
            addCriterion("upload_id like", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdNotLike(String value) {
            addCriterion("upload_id not like", value, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdIn(List<String> values) {
            addCriterion("upload_id in", values, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdNotIn(List<String> values) {
            addCriterion("upload_id not in", values, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdBetween(String value1, String value2) {
            addCriterion("upload_id between", value1, value2, "uploadId");
            return (Criteria) this;
        }

        public Criteria andUploadIdNotBetween(String value1, String value2) {
            addCriterion("upload_id not between", value1, value2, "uploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdIsNull() {
            addCriterion("min_upload_id is null");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdIsNotNull() {
            addCriterion("min_upload_id is not null");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdEqualTo(String value) {
            addCriterion("min_upload_id =", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdNotEqualTo(String value) {
            addCriterion("min_upload_id <>", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdGreaterThan(String value) {
            addCriterion("min_upload_id >", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdGreaterThanOrEqualTo(String value) {
            addCriterion("min_upload_id >=", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdLessThan(String value) {
            addCriterion("min_upload_id <", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdLessThanOrEqualTo(String value) {
            addCriterion("min_upload_id <=", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdLike(String value) {
            addCriterion("min_upload_id like", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdNotLike(String value) {
            addCriterion("min_upload_id not like", value, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdIn(List<String> values) {
            addCriterion("min_upload_id in", values, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdNotIn(List<String> values) {
            addCriterion("min_upload_id not in", values, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdBetween(String value1, String value2) {
            addCriterion("min_upload_id between", value1, value2, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andMinUploadIdNotBetween(String value1, String value2) {
            addCriterion("min_upload_id not between", value1, value2, "minUploadId");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("customer_id like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("customer_id not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andClueIdIsNull() {
            addCriterion("clue_id is null");
            return (Criteria) this;
        }

        public Criteria andClueIdIsNotNull() {
            addCriterion("clue_id is not null");
            return (Criteria) this;
        }

        public Criteria andClueIdEqualTo(String value) {
            addCriterion("clue_id =", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdNotEqualTo(String value) {
            addCriterion("clue_id <>", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdGreaterThan(String value) {
            addCriterion("clue_id >", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdGreaterThanOrEqualTo(String value) {
            addCriterion("clue_id >=", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdLessThan(String value) {
            addCriterion("clue_id <", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdLessThanOrEqualTo(String value) {
            addCriterion("clue_id <=", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdLike(String value) {
            addCriterion("clue_id like", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdNotLike(String value) {
            addCriterion("clue_id not like", value, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdIn(List<String> values) {
            addCriterion("clue_id in", values, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdNotIn(List<String> values) {
            addCriterion("clue_id not in", values, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdBetween(String value1, String value2) {
            addCriterion("clue_id between", value1, value2, "clueId");
            return (Criteria) this;
        }

        public Criteria andClueIdNotBetween(String value1, String value2) {
            addCriterion("clue_id not between", value1, value2, "clueId");
            return (Criteria) this;
        }

        public Criteria andFollowSourceIsNull() {
            addCriterion("follow_source is null");
            return (Criteria) this;
        }

        public Criteria andFollowSourceIsNotNull() {
            addCriterion("follow_source is not null");
            return (Criteria) this;
        }

        public Criteria andFollowSourceEqualTo(Integer value) {
            addCriterion("follow_source =", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceNotEqualTo(Integer value) {
            addCriterion("follow_source <>", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceGreaterThan(Integer value) {
            addCriterion("follow_source >", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("follow_source >=", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceLessThan(Integer value) {
            addCriterion("follow_source <", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceLessThanOrEqualTo(Integer value) {
            addCriterion("follow_source <=", value, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceIn(List<Integer> values) {
            addCriterion("follow_source in", values, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceNotIn(List<Integer> values) {
            addCriterion("follow_source not in", values, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceBetween(Integer value1, Integer value2) {
            addCriterion("follow_source between", value1, value2, "followSource");
            return (Criteria) this;
        }

        public Criteria andFollowSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("follow_source not between", value1, value2, "followSource");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdIsNull() {
            addCriterion("single_product_customer_id is null");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdIsNotNull() {
            addCriterion("single_product_customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdEqualTo(String value) {
            addCriterion("single_product_customer_id =", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdNotEqualTo(String value) {
            addCriterion("single_product_customer_id <>", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdGreaterThan(String value) {
            addCriterion("single_product_customer_id >", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("single_product_customer_id >=", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdLessThan(String value) {
            addCriterion("single_product_customer_id <", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("single_product_customer_id <=", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdLike(String value) {
            addCriterion("single_product_customer_id like", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdNotLike(String value) {
            addCriterion("single_product_customer_id not like", value, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdIn(List<String> values) {
            addCriterion("single_product_customer_id in", values, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdNotIn(List<String> values) {
            addCriterion("single_product_customer_id not in", values, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdBetween(String value1, String value2) {
            addCriterion("single_product_customer_id between", value1, value2, "singleProductCustomerId");
            return (Criteria) this;
        }

        public Criteria andSingleProductCustomerIdNotBetween(String value1, String value2) {
            addCriterion("single_product_customer_id not between", value1, value2, "singleProductCustomerId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}